package com.s2u2m.training.ex_programmer.single_responsibility.bad;

import com.s2u2m.training.ex_programmer.single_responsibility.Item;

import java.math.BigDecimal;

public class SRPBadPractice {
    public static void main(String[] args) {
        ShoppingCart cart = new ShoppingCart();
        cart.addItem(Item.builder()
                .name("apple").price(BigDecimal.ONE)
                .build());
        cart.print();
    }
}
